home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / wildcat / lfils101.zip / LSTFILES.DOC < prev    next >
Text File  |  1992-04-15  |  5KB  |  120 lines

  1.  
  2.  
  3.  
  4.                                   ListFiles
  5.  
  6.                                      By
  7.  
  8.                                   Rob Green
  9.  
  10.  
  11.  
  12.  
  13.  
  14.         This program is NOT free.  It is being distributed in SHAREWARE.  
  15.         What this means is that you are granted a limited license to use
  16.         this program, and after 60 days, you are expected to register by 
  17.         sending $15 dollars to:
  18.  
  19.                                Rob Green
  20.                                836 Gaslight Circle
  21.                                Winter Park, FL  32792
  22.  
  23.  
  24.        What it does:
  25.          ListFiles reads the drives and/or directories as selected by the
  26.          user and generates an ASCII text file under a user specified 
  27.          filename.  The intended use of this text file is the automated
  28.          generation of the BADFILES.LST as used by WildCat! 3.XX.
  29.  
  30.        Why do it:
  31.          Under WildCat!'s normal operation, if you have a particular file
  32.          already on your system and a caller tries to upload a file with 
  33.          the same name, WildCat! will allow the caller to upload that file,
  34.          but then prompts them AFTER the file transfer to rename their 
  35.          uploaded file or delete it.  This has made more than a few callers
  36.          mad and they will normally rename the file leaving the Sysop with 
  37.          two identical files with different names.  This is not acceptible 
  38.          to the Sysop nor is it fair to the caller, hence the creation of
  39.          ListFiles.  WildCat! scans the system BADFILES.LST prior to every 
  40.          file upload.  Using ListFiles the Sysop can now easily generate a
  41.          compatible BADFILES.LST and by using the optional command line 
  42.          switches the file lists generated can be tuned to most Sysops needs.
  43.          ListFiles can be run from a nightly event batch file making it
  44.          a natural for "set & forget" maintenance.  
  45.  
  46.        Instructions:
  47.               To get a listing of all files in the current directory
  48.               execute the command:   
  49.        
  50.                               LSTFILES Filename
  51.  
  52.               where filename is the file you want created to hold all the
  53.               names in your directory.
  54.  
  55.        The following is a listing of optional command line parameters and
  56.        they're proper syntax:
  57.  
  58.        LSTFILES filename [/iDDDDD] [/d directory] [/ds directory]
  59.  
  60.        /iDDDDD        -  Reads the files on selected drives.
  61.                          EX: /iABCDXYZ  will include all files in all 
  62.                          directories of drives A: B: C: D: X: Y: Z:
  63.        /d directory   -  ONLY filenames in selected directory. EX: /d \DOS
  64.        /ds directory  -  ONLY filenames for selected directory and all of 
  65.                          its Sub-Directories. EX: /ds \DOS
  66.  
  67.     Here Are Some Helpfull Examples:
  68.  
  69.          LSTFILES lstfiles.lst
  70.  
  71.               Lists all files in current directory, and Sub-directory, and 
  72.               puts them in LSTFILES.LST
  73.  
  74.  
  75.          LSTFILES lstfiles.lst /iCD
  76.  
  77.               Lists all files on drive C: and D:
  78.  
  79.  
  80.          LSTFILES lstfiles.lst /iC /d \DOS
  81.  
  82.               Lists only files on drive C: in directory \DOS
  83.  
  84.  
  85.          LSTFILES lstfiles.lst /iD /ds \Wilcat!
  86.  
  87.               Lists all files in drive D:'s \Wildcat! directory and 
  88.               all of the sub-directories under \Wildcat!
  89.  
  90.  
  91.          LSTFILES lstfiles.lst /d \utils
  92.  
  93.               Lists all files in the current drive's \Utils directory only
  94.  
  95.  
  96.          LSTFILES lstfiles.lst /ds \utils
  97.  
  98.               Lists all files in the \Utils directory of the current drive
  99.               plus all files in its sub-directories.
  100.  
  101.  
  102.          NOTE: See the example batch file supplied for further enlightenment
  103.  
  104.  
  105.          Registering only costs $15 dollars, so if you continue to use this
  106.          program, PLEASE Register.  Registration is the best inspiration to
  107.          keep updating this software and writing more utilities for you.
  108.  
  109.                                                           Thanks,
  110.                                                                  Rob Green.
  111.  
  112.  
  113.            Much appreciation to Kevin Hoffman Sysop of The MoonRose HQ BBS
  114.            (407) 568-8774, Fidonet 1:363/153, for his ideas, support, and 
  115.            BETA testing this and other fine G.P.C. Software.
  116.  
  117.                                                 Thanks Kevin,
  118.                                                              Rob
  119.  
  120.